package com.ys.entity.business;

import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TP_AmazonShop", catalog="Id")
public class TpAmazonShop extends BaseEntity<TpAmazonShop> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="ShopUser", nameJava="shopUser", typeDataBase="varchar")
	private String shopUser;
	@YsField(nameDataBase="ShopName", nameJava="shopName", typeDataBase="varchar")
	private String shopName;
	@YsField(nameDataBase="SellerId", nameJava="sellerId", typeDataBase="varchar")
	private String sellerId;
	@YsField(nameDataBase="SiteId", nameJava="siteId", typeDataBase="bigint")
	private Long siteId;
	@YsField(nameDataBase="Vat", nameJava="vat", typeDataBase="varchar")
	private String vat;
	@YsField(nameDataBase="Eori", nameJava="eori", typeDataBase="varchar")
	private String eori;
	@YsField(nameDataBase="DistrictOrCounty", nameJava="districtOrCounty", typeDataBase="varchar")
	private String districtOrCounty;
	@YsField(nameDataBase="Name", nameJava="name", typeDataBase="varchar")
	private String name;
	@YsField(nameDataBase="AddressLine1", nameJava="addressLine1", typeDataBase="varchar")
	private String addressLine1;
	@YsField(nameDataBase="AddressLine2", nameJava="addressLine2", typeDataBase="varchar")
	private String addressLine2;
	@YsField(nameDataBase="City", nameJava="city", typeDataBase="varchar")
	private String city;
	@YsField(nameDataBase="StateOrProvinceCode", nameJava="stateOrProvinceCode", typeDataBase="varchar")
	private String stateOrProvinceCode;
	@YsField(nameDataBase="PostalCode", nameJava="postalCode", typeDataBase="varchar")
	private String postalCode;
	@YsField(nameDataBase="Phone", nameJava="phone", typeDataBase="varchar")
	private String phone;
	@YsField(nameDataBase="FirstSaleDay", nameJava="firstSaleDay", typeDataBase="char")
	private String firstSaleDay;
	@YsField(nameDataBase="EuAgent", nameJava="euAgent", typeDataBase="varchar")
	private String euAgent;
	@YsField(nameDataBase="EuAgentAddress", nameJava="euAgentAddress", typeDataBase="varchar")
	private String euAgentAddress;
	@YsField(nameDataBase="Manufacturer", nameJava="manufacturer", typeDataBase="varchar")
	private String manufacturer;
	@YsField(nameDataBase="ManufacturerAddress", nameJava="manufacturerAddress", typeDataBase="varchar")
	private String manufacturerAddress;
	@YsField(nameDataBase="EuStatus", nameJava="euStatus", typeDataBase="tinyint")
	private Integer euStatus;
	@YsField(nameDataBase="AmazonSellerId", nameJava="amazonSellerId", typeDataBase="bigint")
	private Long amazonSellerId;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TpAmazonShop setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TpAmazonShop setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getShopUser() {
		return shopUser;
	}
	public TpAmazonShop setShopUser(String shopUser) {
		this.shopUser = shopUser;
		return this;
	}
	public String getShopName() {
		return shopName;
	}
	public TpAmazonShop setShopName(String shopName) {
		this.shopName = shopName;
		return this;
	}
	public String getSellerId() {
		return sellerId;
	}
	public TpAmazonShop setSellerId(String sellerId) {
		this.sellerId = sellerId;
		return this;
	}
	public Long getSiteId() {
		return siteId;
	}
	public TpAmazonShop setSiteId(Long siteId) {
		this.siteId = siteId;
		return this;
	}
	public String getVat() {
		return vat;
	}
	public TpAmazonShop setVat(String vat) {
		this.vat = vat;
		return this;
	}
	public String getEori() {
		return eori;
	}
	public TpAmazonShop setEori(String eori) {
		this.eori = eori;
		return this;
	}
	public String getDistrictOrCounty() {
		return districtOrCounty;
	}
	public TpAmazonShop setDistrictOrCounty(String districtOrCounty) {
		this.districtOrCounty = districtOrCounty;
		return this;
	}
	public String getName() {
		return name;
	}
	public TpAmazonShop setName(String name) {
		this.name = name;
		return this;
	}
	public String getAddressLine1() {
		return addressLine1;
	}
	public TpAmazonShop setAddressLine1(String addressLine1) {
		this.addressLine1 = addressLine1;
		return this;
	}
	public String getAddressLine2() {
		return addressLine2;
	}
	public TpAmazonShop setAddressLine2(String addressLine2) {
		this.addressLine2 = addressLine2;
		return this;
	}
	public String getCity() {
		return city;
	}
	public TpAmazonShop setCity(String city) {
		this.city = city;
		return this;
	}
	public String getStateOrProvinceCode() {
		return stateOrProvinceCode;
	}
	public TpAmazonShop setStateOrProvinceCode(String stateOrProvinceCode) {
		this.stateOrProvinceCode = stateOrProvinceCode;
		return this;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public TpAmazonShop setPostalCode(String postalCode) {
		this.postalCode = postalCode;
		return this;
	}
	public String getPhone() {
		return phone;
	}
	public TpAmazonShop setPhone(String phone) {
		this.phone = phone;
		return this;
	}
	public String getFirstSaleDay() {
		return firstSaleDay;
	}
	public TpAmazonShop setFirstSaleDay(String firstSaleDay) {
		this.firstSaleDay = firstSaleDay;
		return this;
	}
	public String getEuAgent() {
		return euAgent;
	}
	public TpAmazonShop setEuAgent(String euAgent) {
		this.euAgent = euAgent;
		return this;
	}
	public String getEuAgentAddress() {
		return euAgentAddress;
	}
	public TpAmazonShop setEuAgentAddress(String euAgentAddress) {
		this.euAgentAddress = euAgentAddress;
		return this;
	}
	public String getManufacturer() {
		return manufacturer;
	}
	public TpAmazonShop setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
		return this;
	}
	public String getManufacturerAddress() {
		return manufacturerAddress;
	}
	public TpAmazonShop setManufacturerAddress(String manufacturerAddress) {
		this.manufacturerAddress = manufacturerAddress;
		return this;
	}
	public Integer getEuStatus() {
		return euStatus;
	}
	public TpAmazonShop setEuStatus(Integer euStatus) {
		this.euStatus = euStatus;
		return this;
	}
	public Long getAmazonSellerId() {
		return amazonSellerId;
	}
	public TpAmazonShop setAmazonSellerId(Long amazonSellerId) {
		this.amazonSellerId = amazonSellerId;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TpAmazonShop setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TpAmazonShop setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TpAmazonShop setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TpAmazonShop tpAmazonShop(
		String guid,
		String shopUser,
		String shopName,
		String sellerId,
		Long siteId,
		String vat,
		String eori,
		String districtOrCounty,
		String name,
		String addressLine1,
		String addressLine2,
		String city,
		String stateOrProvinceCode,
		String postalCode,
		String phone,
		String firstSaleDay,
		String euAgent,
		String euAgentAddress,
		String manufacturer,
		String manufacturerAddress,
		Integer euStatus,
		Long amazonSellerId,
		Integer status
			) {
		TpAmazonShop entity = new TpAmazonShop();
		entity.setGuid(guid);
		entity.setShopUser(shopUser);
		entity.setShopName(shopName);
		entity.setSellerId(sellerId);
		entity.setSiteId(siteId);
		entity.setVat(vat);
		entity.setEori(eori);
		entity.setDistrictOrCounty(districtOrCounty);
		entity.setName(name);
		entity.setAddressLine1(addressLine1);
		entity.setAddressLine2(addressLine2);
		entity.setCity(city);
		entity.setStateOrProvinceCode(stateOrProvinceCode);
		entity.setPostalCode(postalCode);
		entity.setPhone(phone);
		entity.setFirstSaleDay(firstSaleDay);
		entity.setEuAgent(euAgent);
		entity.setEuAgentAddress(euAgentAddress);
		entity.setManufacturer(manufacturer);
		entity.setManufacturerAddress(manufacturerAddress);
		entity.setEuStatus(euStatus);
		entity.setAmazonSellerId(amazonSellerId);
		entity.setStatus(status);
		return entity;
	}
}